package org.sourceprojects.pannonia.annotations;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import org.sourceprojects.pannonia.Event;

import static java.lang.annotation.RetentionPolicy.RUNTIME;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.METHOD;

@Documented
@Target( { METHOD, ANNOTATION_TYPE })
@Retention(RUNTIME)
public @interface EventHandler {
	Class<? extends Event>[] value();
}
